package eerbaar.internal.body;

import eerbaar.body.BodyFactory;
import eerbaar.body.IBrain;
import eerbaar.body.IHead;

public final class Head implements IHead {

    private IBrain brain;

    public Head() {
        this.brain = BodyFactory.createBrain();
    }

    public Head(IBrain brain) {
        this.brain = brain;
    }

    @Override
    public IBrain getBrain() {

        return this.brain;
    }

    @Override
    public void setBrain(IBrain brain) {

        this.brain = brain;
    }

    @Override
    public String toString() {
        return "head";
    }

}
